import request from '@/utils/request'
import $qs from 'qs'

export function categoryExtension(params) {
  return request({
    url: '/categoryExtension',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function addRecommendGoods(params) {
  return request({
    url: '/addRecommendGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delRecommendGoods(params) {
  return request({
    url: '/delRecommendGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editRecommendGoods(params) {
  return request({
    url: '/editRecommendGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getRecommendGoods(params) {
  return request({
    url: '/getRecommendGoods',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsBalanceSet(params) {
  return request({
    url: '/goodsBalanceSet',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsSettingSave(params) {
  return request({
    url: '/goodsSettingSave',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsSettingGet(params) {
  return request({
    url: '/goodsSettingGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsclassEdit(params) {
  return request({
    url: '/goodsclassEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsSort(params) {
  return request({
    url: '/goodsSort',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsclassIndex(params) {
  return request({
    url: '/goodsclassIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function categoryDel(params) {
  return request({
    url: '/categoryDel',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function seleParent(params) {
  return request({
    url: '/seleParent',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function addChild(params) {
  return request({
    url: '/addChild',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function serviceIndex(params) {
  return request({
    url: '/serviceIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function parameterEdit(params) {
  return request({
    url: '/parameterEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function parameteGet(params) {
  return request({
    url: '/parameteGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function parameterIndex(params) {
  return request({
    url: '/parameterIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function serviceEdit(params) {
  return request({
    url: '/serviceEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function serviceGet(params) {
  return request({
    url: '/serviceGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsclassDelete(params) {
  return request({
    url: '/goodsclassDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsclassGet(params) {
  return request({
    url: '/goodsclassGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function serlistDelete(params) {
  return request({
    url: '/serlistDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function parlistDelete(params) {
  return request({
    url: '/parlistDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsIndex(params) {
  return request({
    url: '/goodsIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function categoryIndex(params) {
  return request({
    url: '/categoryIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsAdd(params) {
  return request({
    url: '/goodsAdd',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsServeListAll(params) {
  return request({
    url: '/goodsServeListAll',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsParamListAll(params) {
  return request({
    url: '/goodsParamListAll',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsEdit(params) {
  return request({
    url: '/goodsEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsGet(params) {
  return request({
    url: '/goodsGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsDelivery(params) {
  return request({
    url: '/goodsDelivery',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsDelete(params) {
  return request({
    url: '/goodsDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsCopy(params) {
  return request({
    url: '/goodsCopy',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsState(params) {
  return request({
    url: '/goodsState',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsRegainDel(params) {
  return request({
    url: '/goodsRegainDel',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsRegain(params) {
  return request({
    url: '/goodsRegain',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsReturn(params) {
  return request({
    url: '/goodsReturn',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function commentIndex(params) {
  return request({
    url: '/commentIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function commentDelete(params) {
  return request({
    url: '/commentDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsRecovery(params) {
  return request({
    url: '/goodsRecovery',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function reviseStatus(params) {
  return request({
    url: '/reviseStatus',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editGoodsName(params) {
  return request({
    url: '/editGoodsName',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editGoodsPrice(params) {
  return request({
    url: '/editGoodsPrice',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editStockNum(params) {
  return request({
    url: '/editStockNum',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsDown(params) {
  return request({
    url: '/goodsDown',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function getCommentList(params) {
  return request({
    url: '/getCommentList',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function delComment(params) {
  return request({
    url: '/delComment',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function setCommentShow(params) {
  return request({
    url: '/setCommentShow',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function replyComment(params) {
  return request({
    url: '/replyComment',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function getCommentDetail(params) {
  return request({
    url: '/getCommentDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function goodsUpper(params) {
  return request({
    url: '/goodsUpper',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function communityAdd(params) {
  return request({
    url: '/communityAdd',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function communityList(params) {
  return request({
    url: '/communityList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function communityDel(params) {
  return request({
    url: '/communityDel',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function communityDetail(params) {
  return request({
    url: '/communityDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsExtensionInfo(params) {
  return request({
    url: '/goodsExtensionInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function kammiSelected(params) {
  return request({
    url: '/kammiSelected',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function addRemarks(params) {
  return request({
    url: '/addFictitious',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getGoodsReservation(params) {
  return request({
    url: '/getGoodsReservation',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function wayReservation(params) {
  return request({
    url: '/wayReservation',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function clearStock(params) {
  return request({
    url: '/clearStock',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getAuditList(params) {
  return request({
    url: '/getAuditList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function setAudit(params) {
  return request({
    url: '/setAudit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
// 秒杀商品库
export function goodsCommon(params) {
  return request({
    url: '/goodsCommon',
    method: 'post',
    data: $qs.stringify(params)
  })
}
// 添加商品到商品库
export function addCommon(params) {
  return request({
    url: '/addCommon',
    method: 'post',
    data: $qs.stringify(params)
  })
}
// 删除商品
export function commondel(params) {
  return request({
    url: '/commondel',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function ticketGoodsAll(params) {
  return request({
    url: '/ticketGoodsAll',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getTicketGoodsZwy(params) {
  return request({
    url: '/getTicketGoodsZwy',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function calendarTicketPrice(params) {
  return request({
    url: '/calendarTicketPrice',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function ticketCalendarEdit(params) {
  return request({
    url: '/ticketCalendarEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function clearQuote(params) {
  return request({
    url: '/clearQuote',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function classModel(params) {
  return request({
    url: '/classModel',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodsRichTextHandle(params) {
  return request({
    url: '/goodsRichTextHandle',
    method: 'post',
    data: $qs.stringify(params)
  })
}
